<%--
  Created by IntelliJ IDEA.
  User: 老白
  Date: 2021/6/9
  Time: 11:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    String username = request.getParameter("username");
%>
<form action="/uploadImg?username=<%=username%>" method="post" enctype="multipart/form-data">
    <input type="file" name="myFile">
    <input type="submit" value="上传头像">
</form>
</body>
</html>
